package com.keyidea.jfxui.core.server.entity;

import lombok.Data;

/**
 * udp传输实体
 */
@Data
public class UdpMsg {
    private String fromIP;
    private int fromPort;
    private byte[] msg;

    public UdpMsg(String ip, int port, byte[] msg) {
        this.fromIP = ip;
        this.fromPort = port;
        this.msg = msg;
    }
}
